home *** CD-ROM | disk | FTP | other *** search
Wrap
property theNetID on exitFrame me if voidp(theNetID) or (theNetID = 0) then strFirstName = getVariable(sprite(1), "FirstName") strSurname = getVariable(sprite(1), "Surname") strEMail = getVariable(sprite(1), "EMail") strMessage = getVariable(sprite(1), "ContactUs:Message") theStr = "http://66.155.19.43/members/EMail.asp?" & urlEncode([#FirstName: strFirstName, #Surname: strSurname, #EMail: strEMail, #message: strMessage]) put theStr theNetID = getNetText(theStr) end if if netDone(theNetID) then if netTextresult(theNetID) <> EMPTY then alert("Your message has been sent successfully.") setVariable(sprite(1), "ContactUs:Success", "T") else alert("There has been a problem contacting the Flybox web-site. Please ensure that:" & RETURN & RETURN & "1. You are connected to the Internet." & RETURN & "2. If you are behind a firewall that you have permissions to access the Internet.") setVariable(sprite(1), "ContactUs:Success", "F") end if theNetID = VOID setVariable(sprite(1), "Finished", "T") go("Finished") else go(the frame) end if end